<!DOCTYPE html>
<title>Feature-Policy PaymentRequest Disabled</title>
<script>
window.onload = function() {
  var supportedInstruments = [ { supportedMethods: [ 'visa' ] } ];
  var details = {
      total: { label: 'Test', amount: { currency: 'USD', value: '5.00' } }
  };
  try {
    new PaymentRequest(supportedInstruments, details);
    parent.postMessage({ enabled: true, name: 'N/A', message: 'N/A' }, '*');
  } catch (e) {
    parent.postMessage({ enabled: false, name: e.name, message: e.message }, '*');
  }
}
</script>
